package com.cicoding.service;

import com.cicoding.bean.ErrorProblem;
import com.cicoding.request.GenerateRequest;

import java.util.List;
import java.util.Set;

/**
 * @Author:chandfy
 * @Description:
 * @Date:2022/12/8
 */
public interface ProblemService {
     Set<String> generate(GenerateRequest generateRequest);

     List<ErrorProblem> errorProblemList(int id);

     int calculate(String s);

     int problemNum();
}
